//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'

import { createApp } from 'vue'
import  pinia from './stores'

import App from './App.vue'
import router from './router'

//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey =
  'AAPTxy8BH1VEsoebNVZXo8HurAFy8kZZOU_a0lQM7OKJH2UImfyIWBS7HhAeCTfKG2zpWuXVZ65uKVkgMduAhK35A9UuXNR25_jez3UXP2EKaqwtE956GEaaEOk67vNyLGVA5cfpAJa2lsJB6i_U5fhTK0gY7UHZQ7r0vJUiVnQ0HRN_zHw6pZObfWn_U2I97T3b_Vg-1WFEWmEc5dKaqo-ljvcIQ5XJiXUklB7MV4P_I1LGkML2yljZ7nKMX-dfr2xsAT1_FvV2WHTb'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
